home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group93a.txt / 000091_icon-group-sender _Thu Mar 18 22:13:53 1993.msg < prev    next >
Internet Message Format  |  1993-04-21  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Wed, 24 Mar 1993 05:38:27 MST
  2. Date: 18 Mar 93 22:13:53 GMT
  3. From: mcsun!Germany.EU.net!ira.uka.de!rz.uni-karlsruhe.de!uni-heidelberg!embl-heidelberg.de!scharf@uunet.uu.net
  4. Organization: EMBL, European Molecular Biology Laboratory
  5. Subject: Icon as embeded language?
  6. Message-Id: <1993Mar18.231353.77724@embl-heidelberg.de>
  7. Sender: icon-group-request@cs.arizona.edu
  8. To: icon-group@cs.arizona.edu
  9. Status: R
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11.  
  12. I'm loocking for an embedded language for my C++ program. I've loocked at Tcl
  13. and I currently use Perl but I'm open for something better. I just had a quick
  14. look at some of the Icon docu and my questions are:
  15.  
  16. -- Does Icon provide an easy to use interface (like Tcl) to use it as embedded
  17. language?
  18.  
  19. In Perl I have constructs like
  20.    $DIALOG=&Dialog_New(); #$DIALOG is a variable &Dialog_New() calls my function
  21.    DialogAddButton($DIALOG,"ButtonName","CallbackFunction");
  22.    ...
  23. but if someone says $DIALOG="Foo"; between the creation and the use of a
  24. variable I have a problem. There is also a problem that there is nothing like 
  25. garbage collection.
  26.  
  27. -- How does Icon then handle my objects? 
  28.  
  29. I've seen that there exist someting like an Object Oriented extension/dialect
  30. OO-Icon.
  31.  
  32. -- Is it possible to use the OO-Icon as basis for an embedded language?
  33. -- Does it support external (in my case C++) Objects?
  34.  
  35. Thanks
  36.         Michael
  37.  
  38. Michael Scharf
  39. -----------------------------------------------------------------------------
  40.   *****       #####  #    #  #####   #          European Molecular Biology Lab.
  41.  *******   #      ##   ##  #    #  #          Protein Design Group
  42. *********  #      # # # #  #    #  #          Meyerhofstr.1
  43. *********  #####  #  #    #  #####   #          6900 Heidelberg, Germany
  44. ** ******  #      #    #  #    #  #          Tel: +49 6221 387 305
  45.  *******   #      #    #  #    #  #          Fax: +49 6221 387 517
  46.   *****       #####  #    #  #####   ######     Mail: scharf@EMBL-Heidelberg.de
  47. -----------------------------------------------------------------------------
  48.